package com.wang.userscenter.common.controller;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;

import com.wang.userscenter.common.util.DateUtil;
import com.wang.userscenter.common.util.EncryptUtil;

/**
 * 存储的是所有Servlet中的公共代码
 */
public class BaseController{
	protected Logger log = LogManager.getLogger();
	
	/**
	 * 所有的Servlet都会用到工具类
	 */
	@Autowired
	protected EncryptUtil encryptUtil; 
	@Autowired
	protected DateUtil dateUtil; 
}